1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | IF stKey = "Author" THEN GetTextProperty2 := ADR("H-Hermsen and I-Campbell"); ELSIF stKey = "Company" THEN GetTextProperty2 := ADR("Open Source"); ELSIF stKey = "CompiledLibraryCompatibilityVersion" THEN GetTextProperty2 := ADR("CODESYS V3.5 SP16"); ELSIF stKey = "DefaultNamespace" THEN GetTextProperty2 := ADR("SparkplugB"); ELSIF stKey = "Description" THEN GetTextProperty2 := ADR("SparkplugB v2.2 Sparkplug and the Sparkplug logo are trademarks of the Eclipse Foundation GetTextProperty2 := ADR("Sparkplug B MQTT Topic and Payload Definition"); ELSE GetTextProperty2 := ADR(""); END_IF |